<template>
  <div>
    <!-- 视力 -->
    <!-- <table class="table vision" v-if="props.areaId.includes(1) || false">
      <thead>
        <tr>
          <th class="set_bg">视力</th>
          <th class="title_bg">裸眼视力</th>
          <th class="title_bg">戴镜视力</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <th class="title_bg">OD</th>
          <td class="cursor-pointer" @dblclick="handleDblClick('ucvaRight')">
            <el-input
              v-if="(!flag && vision_projectId) || activeEditId == 'ucvaRight'"
              v-model="vision_data.ucvaRight"
              placeholder="请输入右眼裸眼视力"
              @blur="handleBlur"
              data-field="ucvaRight"
            />
            <span v-else>
              <span v-if="vision_data.ucvaRight">
                {{ vision_data.ucvaRight }}
              </span>
              <el-text class="textSize" type="info" v-else>
                {{ dbPlaceholder }}
              </el-text>
            </span>
          </td>
          <td
            class="cursor-pointer"
            @dblclick="handleDblClick('glassEyesightRight')"
          >
            <el-input
              v-if="
                (!flag && vision_projectId) ||
                activeEditId == 'glassEyesightRight'
              "
              v-model="vision_data.glassEyesightRight"
              placeholder="请输入右眼戴镜视力"
              @blur="handleBlur"
              data-field="glassEyesightRight"
            />
            <span v-else>
              <span v-if="vision_data.glassEyesightRight">
                {{ vision_data.glassEyesightRight }}
              </span>
              <el-text class="textSize" type="info" v-else>
                {{ dbPlaceholder }}
              </el-text>
            </span>
          </td>
        </tr>
        <tr>
          <th class="title_bg">OS</th>
          <td class="cursor-pointer" @dblclick="handleDblClick('ucvaLeft')">
            <el-input
              v-if="(!flag && vision_projectId) || activeEditId == 'ucvaLeft'"
              v-model="vision_data.ucvaLeft"
              placeholder="请输入左眼裸眼视力"
              @blur="handleBlur"
              data-field="ucvaLeft"
            />
            <span v-else>
              <span v-if="vision_data.ucvaLeft">
                {{ vision_data.ucvaLeft }}
              </span>
              <el-text class="textSize" type="info" v-else>
                {{ dbPlaceholder }}
              </el-text>
            </span>
          </td>
          <td
            class="cursor-pointer"
            @dblclick="handleDblClick('glassEyesightLeft')"
          >
            <el-input
              v-if="
                (!flag && vision_projectId) ||
                activeEditId == 'glassEyesightLeft'
              "
              v-model="vision_data.glassEyesightLeft"
              placeholder="请输入左眼戴镜视力"
              @blur="handleBlur"
              data-field="glassEyesightLeft"
            />
            <span v-else>
              <span v-if="vision_data.glassEyesightLeft">
                {{ vision_data.glassEyesightLeft }}
              </span>
              <el-text class="textSize" type="info" v-else>
                {{ dbPlaceholder }}
              </el-text>
            </span>
          </td>
        </tr>
      </tbody>
    </table> -->
  </div>
</template>

<script setup>
import { ref, onMounted } from "vue";
import { ElMessage, ElMessageBox } from "element-plus";

onMounted(() => {});
</script>

<style scoped lang="scss">
</style>